//
//  RestaurantParty.h
//  MobileAppsTipApp
//
//  Created by jcotter on 10/10/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Guest.h"

@interface RestaurantParty : NSObject {
    NSMutableArray* guests;
}

-(void)addGuest: (Guest*)newGuest;
-(void)removeGuest: (Guest*)remGuest;
-(void)removeGuestAt: (int)index;
//Calculated from guest amounts
-(double)getPartyTotal;
-(double)getPartyTipTotal;

//Guest values
-(double)getGuestSubtotal: (int)index;
-(void)setGuestSubtotal: (int)index : (double)subtotal;
-(double)getGuestTipPerc: (int)index;
-(void)setGuestTipPerc: (int)index : (double)tipperc;
-(NSString*)getGuestName: (int)index;
-(void)setGuestName: (int) index : (NSString*)name;

@end
